package timing.ukulele.item.client;

import timing.ukulele.common.ResponseResult;
import timing.ukulele.item.client.callback.ProjectClientCallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "ukulele-project", fallback = ProjectClientCallback.class)
public interface ProjectClient {
    @GetMapping("/project/api/business/checkItem")
    ResponseResult<Integer> checkItemProjectExist(@RequestParam("itemId") Long itemId);
}
